<template>
	<view>
		<uni-section title="投资详情" sub-title="" type="line">
			<uni-list>
				<uni-list-item title="投资类型" :right-text="invest.investName"></uni-list-item>
<!-- 				<uni-list-item title="投资名称" :right-text="invest.investName"></uni-list-item> -->
				<uni-list-item title="基金名称" :right-text="invest.fundName"></uni-list-item>
				<uni-list-item title="基金代码" :right-text="invest.fundCode"></uni-list-item>
				<uni-list-item title="投资时间" :right-text="invest.investTime"></uni-list-item>
				<uni-list-item title="投资金额" :right-text="invest.investAmount"></uni-list-item>
				<uni-list-item title="投资状态" :right-text="invest.transactionStatus"></uni-list-item>
				<uni-list-item title="净值" :right-text="invest.netWorth"></uni-list-item>
				<uni-list-item title="投资份额" :right-text="invest.investShare"></uni-list-item>
			</uni-list>
		</uni-section>
	</view>
</template>

<script setup>
import { ref } from 'vue'

const invest = ref({
	investType: '分红',
	investName: '定投',
	fundName: '基金123',
	fundCode: '123',
	investTime: '2024-03-07',
	investAmount: '1000',
	transactionStatus: '正常',
	netWorth: '100',
	investShare: '10'
})
</script>

<style>

</style>
